﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace TuLing.Blazor.Migrations
{
    public partial class finance : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "FinanceItem",
                table: "Finance",
                newName: "Item");

            migrationBuilder.RenameColumn(
                name: "FinanceDate",
                table: "Finance",
                newName: "Date");

            migrationBuilder.RenameColumn(
                name: "FinanceAmount",
                table: "Finance",
                newName: "Amount");

            migrationBuilder.RenameColumn(
                name: "FinaceCode",
                table: "Finance",
                newName: "Code");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Item",
                table: "Finance",
                newName: "FinanceItem");

            migrationBuilder.RenameColumn(
                name: "Date",
                table: "Finance",
                newName: "FinanceDate");

            migrationBuilder.RenameColumn(
                name: "Code",
                table: "Finance",
                newName: "FinaceCode");

            migrationBuilder.RenameColumn(
                name: "Amount",
                table: "Finance",
                newName: "FinanceAmount");
        }
    }
}
